package Thread;

public class ThreadDemo11 {
    public static void main(String[] args) {
        Thread thread1 = new Thread(() -> {
            System.out.println(Thread.currentThread().getName());
        });

        Thread thread2 = new Thread(() -> {
            System.out.println(Thread.currentThread().getName());
        });

        thread1.start();
        thread2.start();
    }
}
